"""
两个界面如何跳转
"""


def menu_1():
    while True:
        print("""
        ==============登录界面============
                        
           1.登录账号  2.注册账号 3.退出
            
        =================================     
        """)
        cmd = input("请输入选项：")
        if cmd == "1":
            menu_2()
        elif cmd == "2":
            pass
        elif cmd == "3":
            break
        else:
            print("请输入正确选项")


def menu_2():
    while True:
        print("""
        ==============查询界面============

           1.查单词  2.历史记录 3.注销

        =================================     
        """)
        cmd = input("请输入选项：")
        if cmd == "1":
            pass
        if cmd == "2":
            pass
        if cmd == "3":
            pass
